package com.sz.admin.dtuinfo.pojo.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.time.LocalDateTime;
import cn.idev.excel.annotation.ExcelIgnore;
import cn.idev.excel.annotation.ExcelProperty;
import com.sz.excel.annotation.DictFormat;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 * DtuInfo返回vo
 * </p>
 *
 * @author sz-admin
 * @since 2025-08-29
 */
@Data
@Schema(description = "DtuInfo返回vo")
public class DtuInfoVO {

    @ExcelIgnore
    @Schema(description =  "id")
    private String id;

    @ExcelProperty(value = "DTU设备编号")
    @Schema(description =  "DTU设备编号")
    private String dtuNumber;

    @ExcelProperty(value = "设备名称")
    @Schema(description =  "设备名称")
    private String name;

    @Schema(description ="端口")
    private Integer port;

    @ExcelProperty(value = "排序")
    @Schema(description =  "排序")
    private Integer sort;

    @ExcelProperty(value = "ICCID")
    @Schema(description =  "ICCID")
    private String iccid;

    @ExcelProperty(value = "LEDID")
    @Schema(description =  "LEDID")
    private String ledid;

    @ExcelProperty(value = "绑定密码")
    @Schema(description =  "绑定密码")
    private String bindToken;

    @ExcelProperty(value = "设备状态 （字典表dtu_status）")
    @DictFormat(dictType = "dtu_status")
    @Schema(description =  "设备状态 （字典表dtu_status）")
    private String dtuStatus;

    @ExcelProperty(value = "绑定时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Schema(description =  "绑定时间")
    private LocalDateTime bindTime;

    @ExcelProperty(value = "过期时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Schema(description =  "过期时间")
    private LocalDateTime expireTime;

    @ExcelProperty(value = "创建时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Schema(description =  "创建时间")
    private LocalDateTime createTime;

    @ExcelProperty(value = "更新时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Schema(description =  "更新时间")
    private LocalDateTime updateTime;

    @ExcelProperty(value = "创建人ID")
    @DictFormat(dictType = "dynamic_user_options")
    @Schema(description =  "创建人ID")
    private Long createId;

    @ExcelProperty(value = "更新人ID")
    @DictFormat(dictType = "dynamic_user_options")
    @Schema(description =  "更新人ID")
    private Long updateId;

    @ExcelProperty(value = "车辆id")
    @Schema(description =  "车辆id")
    private Long vehicleId;

    @Schema(description =  "车辆编号")
    private String vehicleNumber;

    @Schema(description =  "车辆名称")
    private String vehicleTitle;

    @Schema(description =  "部门id")
    private Long deptId;

    @Schema(description =  "部门名称")
    private String deptName;

}